﻿
@{
    ViewBag.Title = "Eidt";
}

<h2>Eidt</h2>
<fieldset>
    <legend>修改音乐专辑</legend>
    @Html.HiddenFor(model=>model.AlbumId,new { @AlbumId = Model.AlnumId })

    @Html.ValidationMessageFor(model=>model.AlbumId,"")
    <p>
        @Html.Label("GenreId")
        @Html.DropDownList("GenriId",ViewBag.Genre as SelectList)
        @Html.ValidationMessageFor(model=>model.GenreId,"")
    </p>
    <p>
        @Html.Label("ArtistId")
        @Html.DropDownList("ArtistId", ViewBag.ArtistId as SelectList)
        @Html.ValidationMessageFor(model => model.ArtistId, "")
    </p>
    <p>
        @Html.Label("Title")
        @Html.TextBox("Title",Model.Title)
    </p>













</fieldset>
